<?php
	class User {
		private $id;
		private $name;
		private $email;
		private $password;
		private $active;
		private $groupId;
		
		public function __construct($id = null,
									$name = null,
									$email = null,
									$password = null,
									$active = null,
									$groupId = null) {
			$this->id = $id;
			$this->name = $name;
			$this->email = $email;
			$this->password = $password;
			$this->active = $active;
			$this->groupId = $groupId;
		}
		
		public function getId () {return $this->id;}
		public function getName () {return $this->name;}
		public function getEmail () {return $this->email;}
		public function getPassword () {return $this->password;}
		public function getActive () {return $this->active;}
		public function getGroupId () {return $this->groupId;}
		
		public function setId ($id) {$this->id = $id;}
		public function setName ($name) {$this->name = $name;}
		public function setEmail ($email) {$this->email = $email;}
		public function setPassword ($password) {$this->password = $password;}
		public function setActive ($active) {$this->active = $active;}
		public function setGroupId ($groupId) {$this->groupId = $groupId;}
	}
?>